package cn.tedu.boot101.entity;

public class Class {
    private Integer id;
    private String name;
    private String teacherName;
    private String gradeLevel;

    public Class() {
    }

    public Class(Integer id, String name, String teacherName, String gradeLevel) {
        this.id = id;
        this.name = name;
        this.teacherName = teacherName;
        this.gradeLevel = gradeLevel;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return teacherName
     */
    public String getTeacherName() {
        return teacherName;
    }

    /**
     * 设置
     * @param teacherName
     */
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    /**
     * 获取
     * @return gradeLevel
     */
    public String getGradeLevel() {
        return gradeLevel;
    }

    /**
     * 设置
     * @param gradeLevel
     */
    public void setGradeLevel(String gradeLevel) {
        this.gradeLevel = gradeLevel;
    }

    public String toString() {
        return "Class{id = " + id + ", name = " + name + ", teacherName = " + teacherName + ", gradeLevel = " + gradeLevel + "}";
    }
}
